<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="stylesheet" type="text/css" href="images/aui.css">
    <link rel="stylesheet" type="text/css" href="images/style.css">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
</head>
<style>
.hrb-hidden{
    display: none;
}
.hrb-show{
    display: block !important;
}
    
</style>
<body>
<header>
    <div class="logo aui-col-xs-3 header-left">
        <img src="images/logo.jpg" alt="">
    </div>
    <div class="aui-col-xs-9 header-right">
        <span class="shoucang">收藏本站</span>
        <span class="lianxi">联系我们</span>
        <div class="divSearch">
            <input type="search" class="search" placeholder="广东好人网">
            <span class="iconSearch"><i class="aui-iconfont aui-icon-search"></i></span>
            <input type="button" class="searchBtn aui-btn aui-btn-info" value="搜索">
        </div>
    </div>
    <nav class="hongseBG">
        <ul>
            <li><a href="" title="">首页</a></li>
            <li><a href="" title="">好人救助</a></li>
            <li><a href="" title="">求助通道</a></li>
            <li><a href="" title="">好人图库</a></li>
            <li><a href="" title="">政府关爱</a></li>
            <li><a href="" title="">热点事件</a></li>
            <li><a href="" title="">好人乐捐</a></li>
            <li><a href="" title="">志愿者</a></li>
            <li><a href="" title="">关于我们</a></li>
        </ul>
    </nav>
</header><!-- /header -->
<div class="contain allBorder">
<!-- 首页轮播 -->
    <div class="slid">
        
    </div>
<!-- 首页广告 -->
    <div class="adv mt10">
        <img src="images/haoren.jpg" alt="">
    </div>
    <!-- 救助等 -->
    <div class="jiuzhus ">
        <div class="jiuzhu w32 allBorder">
            <div class="jz-top">
                <span class="jz-title hongse">最新救助</span>
                <span class="jz-more aui-pull-right">更多>></span>
            </div>
            <ul>
                <li><span><i></i></span><a href=""  target="_blank">助人为乐谭江美</a></li>
                <li><span><i></i></span><a href=""  target="_blank">天河好人行动感动中山</a></li>
                <li><span><i></i></span><a href=""  target="_blank">“关注外来工”的“破烂王”</a></li>
                <li><span><i></i></span><a href=""  target="_blank">中山市：天心区残疾人李某某</a></li>
                <li><span><i></i></span><a href=""  target="_blank">卢某某：“两件事不能等，敬老“</a></li>
                <li><span><i></i></span><a href=""  target="_blank">毕生积蓄捐“希望”</a></li>
                <li><span><i></i></span><a href=""  target="_blank">14岁女生背父上学</a></li>
                <li><span><i></i></span><a href=""  target="_blank">“老好人”梁某（5图）他拖着病体跳进水里救出溺水游客</a></li>
                <li><span><i></i></span><a href=""  target="_blank">他拖着病体跳进水里救出溺水游客</a></li>
            </ul>
        </div>
        <div class="qiuzhu w32 allBorder">
            <div class="jz-top">
                <span class="jz-title hongse">求助通道</span>
            </div>
            <div class="tongdao">
                <textarea class="td-text allBorder huise  " placeholder="请在这里概述你的求助问题，我们的志愿者朋友会在最短的时间内与你联系"></textarea>
            <input type="button" class="tijaoBtn aui-btn aui-btn-info" value="提交">
            </div>  
        </div>
        <div class="haoren w32 allBorder">
            <div class="jz-top">
                <span class="jz-title hongse">好人乐捐</span>
                <span class="jz-more aui-pull-right">更多>></span>
            </div>
            <ul>
                <li class="th">
                    <span style="width: 93px">捐助者</span>
                    <span style="width: 62px">金额</span>
                    <span style="width: 155px">捐助时间</span>
                </li>
            </ul>
            <div class="scrollUp">
                <ul>
                    <li>
                        <span>素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li><li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                    <li>
                        <span>李光素</span>
                        <span>1000</span>
                        <span>2016-08-18</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 好人榜 -->
    <div class="haorenbang allBorder">
        <div class="hrb-title">广东好人榜</div>
        <div class="hrb-title2 aui-pull-right">发现好事 推荐好人 欢迎登陆身边好人线索平台</div>
        <div class="hrb-content">
            <div class="hrb-left aui-col-xs-2">
                <ul>
                    <li class="active pointer">助人为乐好人</li>
                    <li class="pointer">见义勇为好人</li>
                    <li class="pointer">诚实守信好人</li>
                    <li class="pointer">敬业奉献好人</li>
                    <li class="pointer">敬老爱亲好人</li>
                </ul>
            </div>
            <div class="hrb-right aui-col-xs-10  allBorder">
                <ul class="aui-list-view hrb-show">
                    <li class="aui-list-view-cell aui-img aui-col-xs-3">
                        <img class="aui-img-object aui-pull-left" src="images/touxiang.jpg">
                        <div class="aui-img-body">
                            谢忠民1
                            <p class='aui-ellipsis-3 introduce'>图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>
                <ul class="aui-list-view ">
                    <li class="aui-list-view-cell aui-img aui-col-xs-3">
                        <img class="aui-img-object aui-pull-left" src="images/touxiang.jpg">
                        <div class="aui-img-body">
                            谢忠民2
                            <p class='aui-ellipsis-3 introduce'>图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>
                <ul class="aui-list-view ">
                    <li class="aui-list-view-cell aui-img aui-col-xs-3">
                        <img class="aui-img-object aui-pull-left" src="images/touxiang.jpg">
                        <div class="aui-img-body">
                            谢忠民3
                            <p class='aui-ellipsis-3 introduce'>图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>
                <ul class="aui-list-view ">
                    <li class="aui-list-view-cell aui-img aui-col-xs-3">
                        <img class="aui-img-object aui-pull-left" src="images/touxiang.jpg">
                        <div class="aui-img-body">
                            谢忠民4
                            <p class='aui-ellipsis-3 introduce'>图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>
                <ul class="aui-list-view ">
                    <li class="aui-list-view-cell aui-img aui-col-xs-3">
                        <img class="aui-img-object aui-pull-left" src="images/touxiang.jpg">
                        <div class="aui-img-body">
                            谢忠民5
                            <p class='aui-ellipsis-3 introduce'>图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!-- 风采 -->
    <div class="fengcai mt10">
        <div class="fc-content aui-pull-left">
            <div class="jz-top">
                <span class="jz-title hongse">志愿者风采</span>
                <span class="jz-more aui-pull-right">更多>></span>
            </div>
            <div class="fc-con-contain allBorder">
                <div class="fc-con-left aui-pull-left">
                    <img src="images/fengcai.jpg" alt="">
                    <ul>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                    </ul>
                </div>
                <div class="fc-con-right aui-pull-right">
                    <ul>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征</li>
                        <li class="aui-ellipsis-1">首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征</li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="fc-guangai  aui-pull-right allBorder">
            <div class="jz-top">
                <span class="jz-title hongse">政府关爱</span>
                <span class="jz-more aui-pull-right">更多>></span>
            </div>
            <div class="ga-content">
                <ul class="aui-list-view">
                    <li class="aui-list-view-cell aui-img">
                        <img class="aui-img-object aui-pull-left" src="images/guanai.jpg">
                        <div class="aui-img-body">
                            <p  class="aui-ellipsis-5">图文列表缩略图在左边的样式，默认大小为80PX，文字介绍内容可以为一行也可以为两行，超出部分自动省略</p>
                        </div>
                    </li>
                </ul>

                <ul class="zhiyuan-list">
                    <li class="aui-ellipsis-2">首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征首批赴吉普寨志愿者出征</li>
                    <li class="aui-ellipsis-2">首批赴吉普寨志愿者出征</li>
                    <li class="aui-ellipsis-2">首批赴吉普寨志愿者出征</li>
                    <li class="aui-ellipsis-2">首批赴吉普寨志愿者出征</li>
                </ul>
            </div>
        </div>
    </div>
    <div class="nav-bottom mt10">
        <div class="nav-bot-left aui-pull-left">
            <img src="images/gongyi.jpg" alt="">
        </div>
        <div class="nav-bot-right aui-pull-right">
            <img src="images/yiqi.jpg" alt="">
        </div>
    </div>
    <div class="lianjie mt10">
        <div class="lj-title">友情链接</div>
        <ul>
            <li>公益中国网</li>
            <li>公益中国网</li>
            <li>公益中国网</li>
        </ul>
    </div>
</div>
<footer>
        <ul>
            <li>关于我们</li>
            <li>联系我们</li>
            <li>创始人</li>
        </ul>
        <dvi class="banquan mt10">版权所有  广东好人网  粤ICP备12043486号  粤公网安备11010102001751号</dvi>
   </footer>   
</body>
<script src="images/jquery-1.11.3.js"></script>
<script src="images/index.js"></script>
<script>
    $(document).on("click",".hrb-left li",function(){
        $(this).parent().find("li").removeClass("active");
        $(this).addClass("active");
        var index=$(this).index();
        $(".hrb-right ul").removeClass("hrb-show");
        $(".hrb-right").find("ul").eq(index).addClass("hrb-show");
    })
    //滚动
    var scrollHtml=$(".scrollUp").html();
    $(".scrollUp").append(scrollHtml);
    var $firstUl=$(".scrollUp").find("ul").eq(0);
    var $secondUl=$(".scrollUp").find("ul").eq(1);
    function move(){
        // 如果滚动的高度超过或等于一个ul的高度，则退回滚动的一个ul高度
        if($(".scrollUp").scrollTop()>=$secondUl.outerHeight()){
            $(".scrollUp").scrollTop(-$secondUl.outerHeight())    
        }else{
          $(".scrollUp").scrollTop($(".scrollUp").scrollTop()+1);
        }
    }
    var timeOut=setInterval(move,40);
    $(".scrollUp").mouseover(function(){
        clearTimeout(timeOut);
    })
    $(".scrollUp").mouseleave(function(){
        timeOut=setInterval(move,40);
    })
</script>
</html>
